﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CXCarDriverMoreDetail
/// </summary>
namespace CE.CarInsurance
{
    public class CXCarDriverMoreDetail
    {
        public CXCarDriverMoreDetail()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _driverdetailid;
        private Int64 _cecarid;
        private Int64 _refceuserid;
        private Int64 _agentid;
        private Int64 _driverid;
        private string _name;
        private string _nric;
        private string _licensepassdate;
        private string _relation;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public Int64 DriverDetailId
        {
            get { return _driverdetailid; }
            set { _driverdetailid = value; }
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int64 DriverId
        {
            get { return _driverid; }
            set { _driverid = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string NRIC
        {
            get { return _nric; }
            set { _nric = value; }
        }

        public string LicensePassDate
        {
            get { return _licensepassdate; }
            set { _licensepassdate = value; }
        }

        public string Relation
        {
            get { return _relation; }
            set { _relation = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        private void ClearFields()
        {
            _driverdetailid = 0;
            _cecarid = 0;
            _refceuserid = 0;
            _agentid = 0;
            _driverid = 0;
            _name = "";
            _nric = "";
            _licensepassdate = "";
            _relation = "";
            _status = false;
            _createddate = DateTime.Now;
            _modifieddate = DateTime.Now;
        }

    }
}